Skip to content

docs(readme): beginner-friendliness pass#1

Merged
EssentialsDev merged 2 commits into
mainfrom
feat/zeffy-cli
May 19, 2026
Merged

docs(readme): beginner-friendliness pass#1
EssentialsDev merged 2 commits into
mainfrom
feat/zeffy-cli

Conversation

@EssentialsDev
Copy link
Copy Markdown
Owner

Summary

Restructures the README so a first-time user (e.g. a nonprofit volunteer who's never installed a CLI) can get to their first EOY report in 5 minutes.

Changes

  • Prerequisites section at the top — Node.js version check + Zeffy account
  • Quick start (5 minutes) — single numbered walkthrough that replaces the separate Install / Authenticate sections, with expected output at each step
  • Optional: use from Claude or other AI agents (MCP) — clearer framing so non-Claude users know they can skip
  • Troubleshooting section covering the 5 most likely failures:
    • command not found: zfy
    • No Zeffy API key configured
    • 401 Invalid API key
    • 429 Too Many Requests
    • "Where did my PDFs go?"
    • skipping logo — image is not square
  • Explain pt in --logo-size (link to PDF points)
  • Add npm version badge
  • Mention DEBUG=1 for verbose error output
  • Note the automated tag-push release pipeline in Development

Test plan

  • Visually skim README on GitHub after rendering
  • Verify all zfy ... commands shown match the actual flag set in `src/cli/`
  • Verify the install command matches the published package (`@devessentials/zfy-cli`)
  • No code changes — typecheck/test/build unaffected

Restructured for someone who's never installed a CLI before:

- Add Prerequisites section: Node.js version check + Zeffy account
- Replace separate Install/Authenticate sections with a single numbered
  'Quick start (5 minutes)' walkthrough covering install → API key →
  auth → first command → first EOY report, with expected output at
  each step
- Mark the MCP section 'Optional' with a clear skip-this hint
- Add Troubleshooting section for the 5 common failure modes:
  command-not-found, missing API key, 401 Invalid Key, 429 rate limit,
  PDF output location, logo validation rejection
- Explain 'pt' in the logo-size flag (link to PDF points)
- Add npm version badge
- Mention DEBUG=1 for verbose error output
- Note the automated tag-push release pipeline in Development section
Copilot AI review requested due to automatic review settings May 18, 2026 22:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the project’s onboarding documentation by restructuring the README to help first-time users install the CLI, configure authentication, and generate an end-of-year report quickly, with added MCP framing and troubleshooting guidance.

Changes:

  • Adds a prerequisites + “Quick start (5 minutes)” guided walkthrough (install → API key → first command → EOY report).
  • Reorganizes CLI/MCP/SDK sections and adds troubleshooting for common setup and runtime errors.
  • Adds npm version badge and expands development/release process notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Six accuracy fixes from automated review on PR #1:

- Drop fictional ✓ checkmark from `zfy auth status` example output
  (the CLI prints `Authenticated.` in green, no glyph)
- Note that the config path can be under XDG_CONFIG_HOME and point
  readers to `zfy auth path` for the exact location
- Replace `npm root -g` (returns node_modules) with `npm prefix -g`
  (returns the install prefix whose `bin` is on PATH)
- Acknowledge both error prefixes for 401 (`API error` from
  auth status, `Zeffy API error` from other commands)
- Show the full logo-validation warning string verbatim and clarify
  that other variants behave the same way
- Drop the hardcoded "21 tests" annotation that would rot as the
  suite grows
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 5 comments.

Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
@EssentialsDev EssentialsDev merged commit b2060eb into main May 19, 2026
3 checks passed
@EssentialsDev EssentialsDev deleted the feat/zeffy-cli branch May 21, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants